<?php


class Categories {
	private $id;
	private $name;

	public function __construct() {}
	public function Init (Array $categories){
		$this->setId($categories["id"]);
		$this->setName($categories["name"]);
	}

	public function setId($id) {
		$this->id = $id;
	}


	public function getId() {
		return $this->id;
	}


	public function setName($name) {
		$this->name = $name;
	}


	public function getName() {
		return $this->name;
	}

}
?>